package com.mc2.docapp.disabilityassessmenttool.SpinalAffection;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/*@Data
@AllArgsConstructor
@NoArgsConstructor*/
public class C_traumetic_affection extends RealmObject {
    @PrimaryKey
    public int id;
    private double traumeticAfffection = 0;

    public C_traumetic_affection(int id, double traumeticAfffection) {
        this.id = id;
        this.traumeticAfffection = traumeticAfffection;
    }



    public C_traumetic_affection() {
    }

    public C_traumetic_affection strip(C_traumetic_affection dt) {
        return new C_traumetic_affection(dt.getId(), dt.getTraumeticAfffection());
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getTraumeticAfffection() {
        return traumeticAfffection;
    }

    public void setTraumeticAfffection(double traumeticAfffection) {
        this.traumeticAfffection = traumeticAfffection;
    }
}
